335321e0b40889a93173f0e6bca1f5d1ac05025c,transports/jms/src/test/java/org/mule/providers/jms/JmsConnectionFactoryTestCase.java,JmsConnectionFactoryTestCase,testConnectionFactoryPropertiesPassed,#,45
Before Change
JmsConnector c = (JmsConnector)muleContext.getRegistry().lookupConnector("jmsConnector2");
assertNotNull(c);
ConnectionFactory cf = (ConnectionFactory) c.getConnectionFactory();
assertTrue(cf instanceof TestConnectionFactory);
assertEquals("ConnectionFactory properties should be passed to the ConnectionFactory.", "TEST_VALUE",
((TestConnectionFactory)cf).getConnectionFactoryProperty());
After Change
JmsConnector c = (JmsConnector)muleContext.getRegistry().lookupConnector("jmsConnector2");
assertNotNull(c);
ConnectionFactory cf = c.getConnectionFactory();
assertTrue(cf instanceof TestConnectionFactory);
assertEquals("ConnectionFactory properties should be passed to the ConnectionFactory.", "TEST_VALUE",
((TestConnectionFactory)cf).getConnectionFactoryProperty());